<extend name="Public:base"/>
<block name="main">
    <div class="rightinfo">
        <form method="post" action="{:U('Member/edit?id=' . $data['id'])}" class="drop_form" name="drop_form" id="drop_form">
            <div class="formbody">
                <ul class="forminfo">
                    <li><label>会员名称</label>
                        <input name="username" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.username}"/>
                    </li>
                    <li><label>可用资金</label>
                        <input name="balance" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.balance}"/>
                        <a href="">[ 查看明细 ]</a>
                    </li>
                    <li><label>消费积分</label>
                        <input name="total_score" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.total_score}"/>
                        <a href="">[ 查看明细 ]</a>
                    </li>
                    <li><label>邮箱</label>
                        <input name="email" type="text" class="dfinput" value="{$data.email}"/>
                    </li>
                    <li><label>是否验证邮箱</label>
                        <cite>
                            <input name="is_email_valid" type="checkbox" <if condition="$data['is_email_valid'] eq 1">checked="checked"</if> disabled="disabled"/>
                        </cite>
                    </li>
                    <li><label>会员等级</label>
                        <input name="name" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.name}"/>
                    </li>
                    <li><label>性别</label>
                        <cite>
                            <input name="gener" type="radio" value="1" <if condition="$data['gener'] eq 1">checked="checked"</if>/>男&nbsp;&nbsp;&nbsp;&nbsp;
                            <input name="gener" type="radio" value="2" <if condition="$data['gener'] eq 2">checked="checked"</if>/>女
                        </cite>
                    </li>
                    <li><label>出生日期</label>

                    </li>
                    <li><label>CRM会员ID</label>
                        <input name="crm_user_id" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.crm_user_id}"/>
                    </li>
                    <li><label>渠道</label>
                        <input name="channel_name" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.channel_name}"/>
                    </li>
                    <li><label>注册来源</label>
                        <input name="title" type="text" class="dfinput" readonly="readonly" style='border-left:0px;border-top:0px;border-right:0px;border-bottom:1px' value="{$data.title}"/>
                    </li>
                    <li><label>真实姓名</label>
                        <input name="realname" type="text" class="dfinput" value="{$data.realname}"/>
                    </li>
                    <li><label>手机</label>
                        <input name="mobile" type="text" class="dfinput" value="{$data.mobile}"/>
                        <i style="color: red">注意：修改已加密电话，不能只修改部分数字。需将加密部分一并改成数字。</i>
                    </li>
                    <li><label>是否验证手机</label>
                        <cite>
                            <input name="is_mobile_valid" type="checkbox" <if condition="$data['is_mobile_valid'] eq 1">checked="checked"</if> disabled="disabled"/>
                        </cite>
                    </li>
                    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="保存"/></li>
                </ul>
            </div>
        </form>
    </div>
</block>
